package org.tc.product.entity;

import java.util.Date;

public class Stocked {
    private Integer id;

    private Integer storeid;

    private Integer managerid;

    private String commodityname;

    private Integer stock;

    private Date newtime;

    private Double joinprice;

    private Double price;

    private Integer joinstocked;

    private String because;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStoreid() {
        return storeid;
    }

    public void setStoreid(Integer storeid) {
        this.storeid = storeid;
    }

    public Integer getManagerid() {
        return managerid;
    }

    public void setManagerid(Integer managerid) {
        this.managerid = managerid;
    }

    public String getCommodityname() {
        return commodityname;
    }

    public void setCommodityname(String commodityname) {
        this.commodityname = commodityname == null ? null : commodityname.trim();
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Date getNewtime() {
        return newtime;
    }

    public void setNewtime(Date newtime) {
        this.newtime = newtime;
    }

    public Double getJoinprice() {
        return joinprice;
    }

    public void setJoinprice(Double joinprice) {
        this.joinprice = joinprice;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getJoinstocked() {
        return joinstocked;
    }

    public void setJoinstocked(Integer joinstocked) {
        this.joinstocked = joinstocked;
    }

    public String getBecause() {
        return because;
    }

    public void setBecause(String because) {
        this.because = because == null ? null : because.trim();
    }
}